// 资深讲师
<template>
  <div class="courseDetails">
    <!-- 资深讲师  -->
    <div class="box">
      <div class="top">
        {{ item.channel_info.name }}
      </div>
      <div class="ul" v-for="(ele, ind) in item.list" :key="ind">
        <div class="left">
          <img :src="ele.teacher_avatar" alt="" />
        </div>
        <div class="right">
          <div class="right_top">{{ ele.teacher_name }}</div>
          <div class="bom">{{ ele.introduction }}</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    item: Object,
  },
  name: "",
  components: {},
  data() {
    return {};
  },
  created() {},
  mounted() {
    console.log(this.item);
  },
  methods: {},
};
</script>
<style scoped lang='scss'>
.courseDetails {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  .box {
    width: 100%;
    .top {
      width: 100%;
      height: 40px;
      border-left: 8px solid red;
      line-height: 40px;
    }
    .ul {
      display: flex;
      align-items: center;
      width: 100%;
      height: 150px;
      background-color: #fff;
      margin: 15px 0;
      padding: 0 20px;
      box-sizing: border-box;
      .left {
        img {
          width: 100px;
          height: 100px;
          border-radius: 50%;
        }
      }
      .right {
        font-size: 20px;
        margin-left: 10px;
        .right_top {
          color: #000;
          margin-bottom: 10px;
          box-sizing: border-box;
        }
      }
    }
  }
  .courses {
    width: 100%;
    .top {
      width: 100%;
      height: 40px;
      border-left: 8px solid red;
      line-height: 40px;
    }
  }
}
</style>
